<template>
	<view class="content">
		<view class="rows" v-for="(item,index) in data" :key="index" @tap="tapThis(index)">
			<view class="left">{{item.leftName}}</view>
			<uni-icons class="icon" type="arrowright"  color="#30313B" size="12" />
			<view class="right">{{item.rightName}}</view>
			<view class="clearBoth"></view>
		</view>
	</view>
</template>
<style>
	.content{min-height: 100vh;background: rgb(245,245,249);}
	.content .rows{width:100%;padding:4% 5%;border-bottom:2upx solid #F2F2F5;background: white;}
	.content .splite{border-bottom: 20upx solid rgb(245,245,249);}
	.content .rows .left{float: left;color:#30313B;font-size: 32upx;}
	.content .rows .right{float: right;color:#30313B;font-size: 32upx;}
	.content .rows .icon{float: right;margin-top: 6upx;margin-left: 20upx;}
</style>
<script>
	import uniIcons from '@/components/uni-icons/uni-icons.vue'
	import uniSection from '@/components/uni-section/uni-section.vue'
	import Share from '@/common/wx_share.js'
	export default {
		components:{
			uniIcons,
			uniSection
		},
		data() {
			return {
				share:{
					title:"",
					path:'/pages/tabbar/mine',
					imageUrl:'',
					desc:'',
					content:''
				},
				data:[
					{"leftName":"修改支付密码","rightName":""},
					{"leftName":"找回支付密码","rightName":""},
				],
				
				
			}
		},
		onLoad(){
			this.AjaxLoad();
		},
		methods: {
			AjaxLoad(){
				return;
				let params={
					client_id:1,
					api_token:this._$md5Ways("MemberInfo/get_contact_us"),
					token:this._$userToken("userInfo").token,
				};
				this._$InitRequest.request('MemberInfo/get_contact_us', params).then(res => {
					this.data[5].rightName = res.data.contact_us
				},error=>{})
				plus.runtime.getProperty(plus.runtime.appid,(res)=>{
					this.data[6].rightName = res.version
				})
			},
			tapThis(e){
				if( e == 0 ){
					uni.navigateTo({
						url:"/pages_mine/pages/set_changePw/set_changePw"
					})
				}else if( e == 1 ){
					uni.navigateTo({
						url:"/pages_mine/pages/set_getBackPw/set_getBackPw"
					})
				}
			},
			
		}
	}
</script>